package com.lysj.admin.master.bussiness.company.company.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lysj.admin.master.common.spring.mpbase.MyEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * @author Created by drj on 2019-12-27 11:15
 * @description 用人单位
 */
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
@TableName("lysj_company_company")
@Table(name = "lysj_company_company", indexes = {@Index(name = "idx_agent_id", columnList = "agentId")})
public class Company extends MyEntity {

    private String phone;//手机(对应登录用户的手机号)
    private String city;//城市
    private String agentId;//新增代理商id
    private String agentName;//代理商名称
}
